﻿using Abp.AutoMapper;
using AVIS.OutBound.Orders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AVIS.OutBound.ThirdOrders.Dto
{
    /// <summary>
    /// 游友订单（现在修改为漫游包Wifi订单）的相关信息（包含Avis租车订单信息）
    /// </summary>
    [AutoMapFrom(typeof(Order))]
    public class YouYouOrderOutput
    {
        ///<summary>
        /// 产品ID
        ///</summary>
        public string ProductID { get; set; }

        /// <summary>
        /// 订单号，由Wizard接口返回（如：37378367CN5） ReservationNumber
        /// </summary>
        public string OrderNo { get; set; }

        /// <summary>
        /// 取车时间
        /// </summary>
        public DateTime PickupDateTime { get; set; }

        /// <summary>
        /// 还车时间
        /// </summary>
        public DateTime ReturnDateTime { get; set; }

        /// <summary>
        /// 客户的姓
        /// </summary>
        public string Surname { get; set; }

        /// <summary>
        /// 客户的名
        /// </summary>
        public string Firstname { get; set; }

        /// <summary>
        /// 客户的电话号码
        /// </summary>
        public string Telephone { get; set; }

        /// <summary>
        /// 客户的电子邮箱
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 航班号
        /// </summary>
        public string FlightNumber { get; set; }

        /// <summary>
        /// 客户所在的国家编号
        /// </summary>
        public string CountryCode { get; set; }

        /// <summary>
        /// 加密Key，用于提交到第三方接口
        /// </summary>
        public string Key { get; set; }
    }
}
